<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Odyssee.WCFCocapps" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Odyssee.WCFCocapps" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:52448/Documents/Documents.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" />
  <xs:complexType name="CriteresRechercheDocument">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q1:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="ActionLiee" type="xs:int" />
          <xs:element minOccurs="0" name="Cle" type="xs:int" />
          <xs:element minOccurs="0" name="ContactLie" type="xs:int" />
          <xs:element minOccurs="0" name="DocumentLie" type="xs:int" />
          <xs:element minOccurs="0" name="DossierLie" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="EntrepriseLiee" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="MotifDiffusionLienActeurs" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Nature" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Objet" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Redacteur" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TypeLienDocument" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CriteresRechercheDocument" nillable="true" type="tns:CriteresRechercheDocument" />
  <xs:complexType name="ResultatRechercheDocument">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q2:OperationResult">
        <xs:sequence>
          <xs:element minOccurs="0" name="Documents" nillable="true" type="tns:ArrayOfDocument" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ResultatRechercheDocument" nillable="true" type="tns:ResultatRechercheDocument" />
  <xs:complexType name="ArrayOfDocument">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Document" nillable="true" type="tns:Document" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDocument" nillable="true" type="tns:ArrayOfDocument" />
  <xs:complexType name="Document">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApplicationExterne" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CertificatSignature" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CheminDocument" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Chrono" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Cle" type="xs:int" />
      <xs:element minOccurs="0" name="CleExterne" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ContenuFichierBase64" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DateDebutValidite" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DateEmission" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DateFinValidite" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DateSignature" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DocumentSigne" type="xs:boolean" />
      <xs:element minOccurs="0" name="DomaineRedacteur" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Entreprise" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Etat" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ExtensionOrigine" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FichierOrigine" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LibelleNature" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LibelleOrigine" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Nature" type="xs:int" />
      <xs:element minOccurs="0" name="NomRedacteur" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NumContact" type="xs:int" />
      <xs:element minOccurs="0" name="Objet1" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Objet2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Origine" type="xs:int" />
      <xs:element minOccurs="0" name="PosteSignature" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Redacteur" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Remarques" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TypeEnvoi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UtilistateurSignature" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Version" type="xs:int" />
      <xs:element minOccurs="0" name="ZoneSup" nillable="true" type="tns:ZoneSup" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Document" nillable="true" type="tns:Document" />
  <xs:complexType name="ZoneSup">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Date1" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Date2" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Numerique1" type="xs:decimal" />
      <xs:element minOccurs="0" name="Numerique2" type="xs:decimal" />
      <xs:element minOccurs="0" name="Numerique3" type="xs:decimal" />
      <xs:element minOccurs="0" name="Texte1" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Texte2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Texte3" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ZoneSup" nillable="true" type="tns:ZoneSup" />
  <xs:complexType name="ParametresCreationDocument">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q3:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="Document" nillable="true" type="tns:Document" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ParametresCreationDocument" nillable="true" type="tns:ParametresCreationDocument" />
  <xs:complexType name="ResultatCreationDocument">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q4:OperationResult">
        <xs:sequence>
          <xs:element minOccurs="0" name="Cle" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ResultatCreationDocument" nillable="true" type="tns:ResultatCreationDocument" />
  <xs:complexType name="ParametresSuppressionDocument">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q5="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q5:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="ApplicationExterne" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Cle" type="xs:int" />
          <xs:element minOccurs="0" name="CleExterne" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SuppressionTotale" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ParametresSuppressionDocument" nillable="true" type="tns:ParametresSuppressionDocument" />
  <xs:complexType name="ParametresDiffusionsDocument">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q6="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q6:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="ApplicationExterne" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Cle" type="xs:int" />
          <xs:element minOccurs="0" name="CleDiffusion" type="xs:int" />
          <xs:element minOccurs="0" name="CleExterne" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Motif" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Utilisateur" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ParametresDiffusionsDocument" nillable="true" type="tns:ParametresDiffusionsDocument" />
  <xs:complexType name="ResultatListeDiffusionsDocument">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q7="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q7:OperationResult">
        <xs:sequence>
          <xs:element minOccurs="0" name="CleDocument" type="xs:int" />
          <xs:element minOccurs="0" name="Diffusions" nillable="true" type="tns:ArrayOfDiffusion" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ResultatListeDiffusionsDocument" nillable="true" type="tns:ResultatListeDiffusionsDocument" />
  <xs:complexType name="ArrayOfDiffusion">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Diffusion" nillable="true" type="tns:Diffusion" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDiffusion" nillable="true" type="tns:ArrayOfDiffusion" />
  <xs:complexType name="Diffusion">
    <xs:sequence>
      <xs:element minOccurs="0" name="CleDiffusion" type="xs:int" />
      <xs:element minOccurs="0" name="CleDocument" type="xs:int" />
      <xs:element minOccurs="0" name="DateAffectation" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DateTraitement" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Destinataire" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DiffusionLue" type="xs:boolean" />
      <xs:element minOccurs="0" name="Expediteur" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HeureAffectation" type="xs:dateTime" />
      <xs:element minOccurs="0" name="HeureTraitement" type="xs:dateTime" />
      <xs:element minOccurs="0" name="LibelleDestinataire" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LibelleMotif" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Liste" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Motif" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NomExpediteur" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NomUtilisateurTraitement" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PosteTraitement" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Traitee" type="xs:boolean" />
      <xs:element minOccurs="0" name="TraiterAutorise" type="xs:boolean" />
      <xs:element minOccurs="0" name="TypeDiffusion" type="xs:int" />
      <xs:element minOccurs="0" name="Urgence" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Utilisateur" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UtilisateurTraitement" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Diffusion" nillable="true" type="tns:Diffusion" />
  <xs:complexType name="ParametresNatureDocument">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q8="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q8:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="NomFichier" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ParametresNatureDocument" nillable="true" type="tns:ParametresNatureDocument" />
  <xs:complexType name="ResultatNatureDocument">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q9="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q9:OperationResult">
        <xs:sequence>
          <xs:element minOccurs="0" name="Nature" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ResultatNatureDocument" nillable="true" type="tns:ResultatNatureDocument" />
</xs:schema>